<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>欢迎注册</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <style>
        .btn-bg-register{
            background-color: #50afeb ;
            margin-right: 16px;

        }
        .err_msg{
            color: red;
            margin-left: 10%;
            margin-bottom: 16px;
        }
    </style>
</head>
<body>
<h1 style="margin-top: 32px;margin-bottom: 16px;margin-left: 10%;">注册用户</h1>
<div class="err_msg">${login_msg} ${register_msg}</div>

<form class="form-horizontal" role="form" action="registerServlet" method="post">
    <div class="form-group">
        <label for="username" class="col-sm-2 control-label">注册账号</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" id="username" name="username" placeholder="请输入注册账号">
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="col-sm-2 control-label">密码</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" id="password" name="password" placeholder="请输入密码">
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="col-sm-2 control-label">姓名</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" id="name" name="name" placeholder="请输入姓名">
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="col-sm-2 control-label">Email</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" id="email" name="email" placeholder="邮件地址">
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="col-sm-2 control-label">电话</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" id="phone" name="phone" placeholder="请输入电话">
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default col-sm-2 btn-bg-register">注册</button>
            <a href="login.jsp"><button type="button" class="btn btn-default">返回登录</button></a>
        </div>
    </div>
</form>



</body>
</html>